package shin.test.web.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class GoogleController {

	protected final Log logger = LogFactory.getLog(getClass());

	@RequestMapping(value = "/google/map", method = RequestMethod.GET)  
	public String html5(ModelMap model){
		model.addAttribute("msg", "Hello World, Google Map!");
		return "/view/google/map.jsp";
	}
	
	@RequestMapping(value = "/google/app", method = RequestMethod.GET)  
	public String jquery(ModelMap model){
		model.addAttribute("msg", "Hello World, App Engine!");
		return "/view/google/app.jsp";
	}
	
}
